package com.jddup.common.pojo;

import java.util.List;

/**
 * Created by ZZB on 2017/12/3.
 */
public class TableMeta {
    private Class beanClass;
    private String beanName;
    private String tableName;
    private TableColumn primaryKeyColumn;
    private List<TableColumn> tableColumns;
    private String createTableSql;
    private Boolean tableExist = true;
    private String tableComment = "";

    public String getTableComment() {
        return tableComment;
    }

    public void setTableComment(String tableComment) {
        this.tableComment = tableComment;
    }

    public String getCreateTableSql() {
        return createTableSql;
    }

    public void setCreateTableSql(String createTableSql) {
        this.createTableSql = createTableSql;
    }

    public Boolean getTableExist() {
        return tableExist;
    }

    public void setTableExist(Boolean tableExist) {
        this.tableExist = tableExist;
    }

    public Class getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(Class beanClass) {
        this.beanClass = beanClass;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public TableColumn getPrimaryKeyColumn() {
        return primaryKeyColumn;
    }

    public void setPrimaryKeyColumn(TableColumn primaryKeyColumn) {
        this.primaryKeyColumn = primaryKeyColumn;
    }

    public List<TableColumn> getTableColumns() {
        return tableColumns;
    }

    public void setTableColumns(List<TableColumn> tableColumns) {
        this.tableColumns = tableColumns;
    }
}
